/*    */ package com.umeng.analytics;
/*    */ 
/*    */ import android.content.Context;
/*    */ import com.umeng.common.Log;
/*    */ 
/*    */ class a
/*    */   implements Thread.UncaughtExceptionHandler
/*    */ {
/*    */   private Thread.UncaughtExceptionHandler a;
/*    */   private i b;
/*    */   private Context c;
/*    */ 
/*    */   public void a(Context paramContext)
/*    */   {
/* 24 */     if (Thread.getDefaultUncaughtExceptionHandler() == this) {
/* 25 */       return;
/*    */     }
/*    */ 
/* 28 */     this.c = paramContext.getApplicationContext();
/* 29 */     this.a = Thread.getDefaultUncaughtExceptionHandler();
/* 30 */     Thread.setDefaultUncaughtExceptionHandler(this);
/*    */   }
/*    */ 
/*    */   public void a(i parami) {
/* 34 */     this.b = parami;
/*    */   }
/*    */ 
/*    */   public void uncaughtException(Thread paramThread, Throwable paramThrowable)
/*    */   {
/* 40 */     a(paramThrowable);
/*    */ 
/* 42 */     if (this.a != null)
/* 43 */       this.a.uncaughtException(paramThread, paramThrowable);
/*    */   }
/*    */ 
/*    */   private void a(Throwable paramThrowable)
/*    */   {
/* 48 */     if (paramThrowable == null) {
/* 49 */       Log.e("MobclickAgent", 
/* 50 */         "Exception is null in handleException");
/* 51 */       return;
/*    */     }
/*    */ 
/* 54 */     this.b.b(this.c, paramThrowable);
/*    */   }
/*    */ }

/* Location:           C:\Users\Administrator\Desktop\umeng_sdk.jar
 * Qualified Name:     com.umeng.analytics.a
 * JD-Core Version:    0.6.2
 */